<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="java.util.*"
		 import="edu.scu.declaresys.vo.*"
		 import="edu.scu.declaresys.config.*"
		 import="edu.scu.declaresys.web.util.*;"		
 %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
			User user = (User)request.getAttribute(IAttrName.USER_VO);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>个人中心</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="css/index.css" type="text/css"></link>
<link rel="stylesheet" href="css/comm.css" type="text/css"></link>
<link rel="stylesheet" href="css/proapp.css" type="text/css"></link>
<link rel="stylesheet" href="css/info.css" type="text/css"></link>
</head>
<body>
	<jsp:include page="/jsp/template/pageHead.jsp" />
	<div>个人中心-->用户信息</div>
	<jsp:include page="personalLeftBar.jsp"></jsp:include>
	<div class="infodetail">
		<form action="<%=IActionName.PERSONAL_MODIFY_INFO%>" method="post">
			<div class="head_info">
				<h4>
					<span><img src="css/img/basic.png" />基本信息</span>
				</h4>
			</div>
			<div class="body_info">
			<dl class="baseinfo">
					<dt>单位名称：</dt>
					<dd><input type="text" name="<%=User.T_UNIT_NAME%>" value="<%=user.getUnitName()%>" /></dd>
				</dl>
				<dl class="baseinfo">
					<dt>登录名：</dt>
					<dd><input type="text"  value="<%=user.getLoginName()%>" readonly="readonly"/></dd>
				</dl>
				<dl class="baseinfo">
					<dt>用户角色：</dt>
					<dd><input type="text"  value="<%=user.getRoleName()%>" readonly="readonly"/></dd>
				</dl>
				<dl class="baseinfo">
					<dt>用户地区：</dt>
					<dd><input type="text"  value="<%=user.getAreaName()%>" readonly="readonly"/></dd>
				</dl>
			</div>
			<div class="head_info">
				<h4>
					<span><img src="css/img/contact.png" />联系方式</span>
				</h4>
			</div>
			<div class="body_info">
				<dl class="baseinfo">
					<dt>用户地址：</dt>
					<dd><input type="text" name="<%=User.T_ADDRESS %>" value="<%=user.getAddress()%>"/></dd>
				</dl>
				<dl class="baseinfo">
					<dt>邮箱地址：</dt>
					<dd>
						<input type="text" name="<%=User.T_EMAIL %>" value="<%=user.getEmail()%>" />
					</dd>
				</dl>
				<dl class="baseinfo">
					<dt>联系电话：</dt>
					<dd>
						<input type="text" name="<%=User.T_PHONE %>" value="<%=user.getPhone()%>" />
					</dd>
				</dl>
			</div>
			<div>
				<input class="btnPass" type="submit" value="保存" />
			</div>
		</form>
	</div>
</body>
</html>